package com.guli.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.utils.PageUtils;
import com.guli.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.guli.gulimall.product.entity.AttrEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author wangguohai
 * @email 270901876@qq.com
 * @date 2022-02-21 16:38:49
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(String type,Map<String, Object> params,Long catelogId);

    PageUtils attrRelation(String groupId, Map<String, Object> params);

    PageUtils noattrRelation(Map<String, Object> params);

    void attrRelationDelete(List<AttrEntity> attrs);

}

